﻿@model CultuRAM.Models.AccreditingRequest


@{
    Layout = null;
    ViewBag.Title = "AccStatus";
}
<!DOCTYPE html>

<html>
    
    <head>
        <meta name="viewport" content="width=device-width" />
        <title>Index</title>
        @Styles.Render("~/Content/bootstrap2")
        @Styles.Render("~/Content/fonts")
    </head>
    <body style="margin: 10px 10px 10px 10px">
        <div id="menu">
            @Html.Partial("_MenuHome")
        </div>
        <div id="main" style="background-color: white; text-align: left; min-height: 530px;">
            <div class="content-wrapper" style="height: 500px">
                @using (Html.BeginForm())
                {
                    <input id="code" name="code" type="text"/>
                    <button value="OK" type="submit"></button>
                }
                @if (Model != null)
                {
                    <h2>Informações do Pedido de Adesão</h2>
                    <br/>
                    <p>Entidade: <b>@Model.Entity.Name </b></p>
                    <p>Data do pedido: <b>@Model.RequestDate </b></p>
                    <p>Estado do pedido de adesão: <b>@Model.AccreditingState.AccState</b></p>
                    <br/>
                    
                    <h4>Resposta</h4>
                    <p>Data: <b>@Model.FeedbackDate </b></p>
                    <p>Parecer: <b>@Model.Feedback </b></p>
                    <br/>
                    <br/>
                }
                else
                {
                    <p>Não existe nenhum pedido de adesão com esse código. Tente novamente!</p>
                }
   
            </div>


            
           
        </div>

        <footer>
             @Html.Partial("_Footer") 
        </footer>
  
        @Scripts.Render("~/bundles/jquery")
        @Scripts.Render("~/bundles/jqueryui")
        @Scripts.Render("~/bundles/jqueryval")
        @Scripts.Render("~/bundles/bootstrap")
        @*      @Scripts.Render("~/bundles/bootstrap3") *@
        @Scripts.Render("~/bundles/culturam")
        @Scripts.Render("~/bundles/bootbox")
        @Scripts.Render("~/bundles/bootstrap2")
    </body>
</html>










